package com.minimalist.basic.entity.vo.operatorlog;

import com.minimalist.basic.config.mybatis.bo.PageReq;
import com.minimalist.basic.config.swagger.SchemaEnum;
import com.minimalist.basic.entity.enums.StatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author 11987
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Schema(name = "操作日志查询实体")
public class OperatorLogQueryVO extends PageReq implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(name = "name", description = "执行方法名称", type = "string")
    private String name;

    @Schema(name = "method", description = "请求方式", type = "string")
    private String method;

    @Schema(name = "creatorName", description = "操作人", type = "string")
    private String creatorName;

    @SchemaEnum(implementation = StatusEnum.class)
    @Schema(name = "status", description = "响应状态", type = "string")
    private Integer status;
}
